//dasdasda
#ifndef CALCULAR_H
#define CALCULAR_H

#include <QDialog>
#include <map>
using namespace std;

#include "AHP.h"
#include "resolvedor.h"
#include <QFileDialog>
#include <fstream>

namespace Ui {
    class Calcular;
}

class Calcular : public QDialog {
    Q_OBJECT
public:
    Calcular(QWidget *parent = 0, AHP * ahp = NULL, float ** distancias = NULL);
    ~Calcular();

protected:
    void changeEvent(QEvent *e);

private:
    Ui::Calcular *ui;
    AHP *ahp;
    float **distancias;
    Resolvedor *resolvedor;
    string informe;

private slots:
    void on_pushButton_3_clicked();
    void on_pushButton_clicked();
    void on_pushButton_2_clicked();
};

#endif // CALCULAR_H
